home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.n / catch.n < prev    next >
Text File  |  1995-07-25  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ccccaaaattttcccchhhh((((nnnn))))                     TTTTccccllll (((( ))))                     ccccaaaattttcccchhhh((((nnnn))))
  5.  
  6.  
  7.  
  8.      _________________________________________________________________
  9.  
  10.      NNNNAAAAMMMMEEEE
  11.           catch - Evaluate script and trap exceptional returns
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           ccccaaaattttcccchhhh _s_c_r_i_p_t ?_v_a_r_N_a_m_e?
  15.      _________________________________________________________________
  16.  
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.           The ccccaaaattttcccchhhh  command  may  be  used  to  prevent  errors  from
  20.           aborting   command  interpretation.   CCCCaaaattttcccchhhh  calls  the  Tcl
  21.           interpreter  recursively  to  execute  _s_c_r_i_p_t,  and   always
  22.           returns  a  TCL_OK code, regardless of any errors that might
  23.           occur while executing _s_c_r_i_p_t.  The return value  from  ccccaaaattttcccchhhh
  24.           is  a  decimal  string  giving  the code returned by the Tcl
  25.           interpreter after executing _s_c_r_i_p_t.  This will be 0000 (TCL_OK)
  26.           if  there were no errors in _s_c_r_i_p_t; otherwise it will have a
  27.           non-zero value  corresponding  to  one  of  the  exceptional
  28.           return codes (see tcl.h for the definitions of code values).
  29.           If the _v_a_r_N_a_m_e argument is given, then it gives the name  of
  30.           a  variable;  ccccaaaattttcccchhhh  will  set  the  variable  to the string
  31.           returned from _s_c_r_i_p_t (either a result or an error message).
  32.  
  33.  
  34.      KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  35.           catch, error
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 7/17/95)
  64.  
  65.  
  66.  
  67.